package JavaBase;

public class Employee1Test {
    public static void main(String[] args) {
        Department de=new Department();
        de.setId(1);
        de.setName("大数据");
        Employee1 em=new Employee1();
        em.setId(001);
        em.setDepartment(de);
        em.setName("小王");
        em.setSalary(3000);
        em.showPrint();
    }
}
